package com.mall.mapper;

import com.mall.po.Brand;
import com.mall.po.BrandExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
/**
 * @ClassName BrandMapper
 * @Description TODO
 * @author XueWanglin
 * @Date 2021/1/5 20:33
 * @Version 1.0
 */
public interface BrandMapper {
    int countByExample(BrandExample example);

    int deleteByExample(BrandExample example);

    int deleteByPrimaryKey(Integer brandid);

    int insert(Brand record);

    int insertSelective(Brand record);

    List<Brand> selectByExample(BrandExample example);

    Brand selectByPrimaryKey(Integer brandid);

    int updateByExampleSelective(@Param("record") Brand record, @Param("example") BrandExample example);

    int updateByExample(@Param("record") Brand record, @Param("example") BrandExample example);

    int updateByPrimaryKeySelective(Brand record);

    int updateByPrimaryKey(Brand record);


    List<Brand> selectBrandList(@Param("page") int page, @Param("num") int num);

    int delBrandListById(Integer[] ids);
}